Release 10.1A: OpenEdge Development:
Progress 4GL Reference


SAX-PARSE( ) method

Performs a single-call parse of an XML document associated with a SAX-reader object.

Return type: None

Applies to: SAX-reader object handle

Syntax
SAX-PARSE ( ) 

Returns when one of the following occurs:

While SAX-PARSE( ) is running, each time the parser detects an XML element, Progress invokes the corresponding callback. Callbacks reside in a procedure file whose handle has been assigned to the HANDLER attribute.

Note: SAX-PARSE( ) does not have a return value. To detect if an error has occurred, add NO-ERROR to the call and when it returns, check ERROR-STATUS:ERROR.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095